<pagination
  data-ng-show="filteredData.length > pageLength"
  max-size="5"
  items-per-page="pageLength"
  page="pgNum"
  total-items="filteredData.length"></pagination>
